<?php
/**
 * /nmox/main/constantine.php
 * Place all of your CONSTANTS in this file. This file, constantine.php, is
 * included for access from any NMOX page and/or resource. Note that this is
 * for storing VALUES, not preferences. If you need to store your preferences,
 * do so in the appropriate file. ( Likely under /nmox/config/config.php ).
 * 
 * Last update: 2008.08.28
 * 
 * @author David Christian Liedle <david.liedle@gmail.com>
 * @link   http://nmox.org/
 *
 */

################################################################################
# constants available to all of NMOX:
#
define('CONSTANTINE', "Constantine Defined.");
define('EXAMPLE', "This is an example constant definition.");
define('AEYSHA', "Beauty defined.");
define('TEGAN', "Daddy's little girl!");

################################################################################
# What $X->become() needs to know:
#
define('CSS',        "css");
define('FLASH',      "flash");
define('IMAGE',      "image");
define('JAVASCRIPT', "script");
define('PAGE',       "page");
define('RSS',        "rss");
define('SNIP',       "snip");
define('TEXT',       "text");
define('VCF',        "vcf");
define('XML',        "xml");

################################################################################
# Simple Character Shortcuts
#
define('BAR',  '|');
define('PIPE', '|');
define('SBS',  ' | ');

################################################################################
# Formatting Shortcuts: \n, \t, Soft-Tabs, <br />, <hr />
#
# Read up here:
#                 http://www.w3schools.com/tags/default.asp
#
define('BR',     "<br />");
define('BRN',    "<br />\n");
define('BRNN',   "<br />\n\n");
define('BRNNST', "<br />\n\n    ");
define('BRNNT',  "<br />\n\n\t");
define('BRNST',  "<br />\n    ");
define('BRNT',   "<br />\n\t");
define('BRNTT',  "<br />\n\t\t");

define('HR',     "<hr />");
define('HRN',    "<hr />\n");
define('HRNN',   "<hr />\n\n");
define('HRNNST', "<hr />\n\n    ");
define('HRNNT',  "<hr />\n\n\t");
define('HRNST',  "<hr />\n    ");
define('HRNT',   "<hr />\n\t");
define('HRNTT',  "<hr />\n\t\t");

define('N',      "\n");
define('NBR',    "\n<br />");
define('NBRN',   "\n<br />\n");
define('NHR',    "\n<hr />");
define('NN',     "\n\n");
define('NNST',   "\n\n    ");
define('NNT',    "\n\n\t");
define('NST',    "\n    ");
define('NT',     "\n\t");

define('ST',     "    "); // "soft tab" or "space tab"
define('STN',    "    \n");

define('T',     "\t");
define('TN',    "\t\n");

################################################################################
# HTML Entities Shortcuts
#
# Read up here:
#                 http://www.alistapart.com/stories/emen/
# and here:
#
# http://ilovejackdaniels.com/cheat-sheets/html-character-entities-cheat-sheet/
#
define('AMP',     "&amp;");
define('APOS',    "&#8217;");
define('APOST',   "&#8217;");
define('APOSTR',  "&#8217;");
define('COPY',    "&copy;");
define('DASH',    "&#8212;");
define('EMDASH',  "&#8212;");
define('ELIP',    "&#8230;");
define('ELIPS',   "&#8230;");
define('ELLIP',   "&#8230;");
define('ELLIPS',  "&#8230;");
define('ENDASH',  "&#8211;");
define('HELLIP',  "&hellip;");
define('HYPH',    "&#8211;");
define('HYPHEN',  "&#8211;");
define('LAQUO',   "&laquo;");
define('LDQUO',   "&#8220;");
define('LQUO',    "&#8220;");
define('LSQUO',   "&#8216;");
define('MINUS',   "&#8722;");
define('NBSP',    "&nbsp;");
define('NBSPACE', "&#160;");
define('RAQUO',   "&raquo;");
define('RDQUO',   "&#8221;");
define('RQUO',    "&#8221;");
define('RSQUO',   "&#8217;");
define('LSAQUO',  "&lsaquo;");
define('RSAQUO',  "&rsaquo;");
define('SPACE',   "&#32;");

################################################################################
# Test:
#
locateMe("/nmox/main/constantine.php");
